package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 询价单
    */
public class InquiryPrice implements Serializable {
    private Integer id;

    /**
    * 此次采购的id
    */
    private Integer procurementId;

    /**
    * 询价单编号（自动计算）
    */
    private String numbering;

    /**
    * 询价单名称（自动计算）（年度+月度+单位+品种+地点+数量）
    */
    private String name;

    /**
    * 询价单主题（选）
    */
    private Integer theme;

    /**
    * 被询价单位id（供应商id）
    */
    private Integer supplierId;

    /**
    * 发起人id
    */
    private Integer staffId;

    /**
    * 询价日期开始日期
    */
    private Date startDate;

    /**
    * 被询价单位的联系人id
    */
    private Integer businessContactId;

    /**
    * 截止日期
    */
    private Date expirationDate;

    /**
    * 发送的询价单据（文件）
    */
    private String inquiryPriceSheet;

    /**
    * 备注
    */
    private String remark;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProcurementId() {
        return procurementId;
    }

    public void setProcurementId(Integer procurementId) {
        this.procurementId = procurementId;
    }

    public String getNumbering() {
        return numbering;
    }

    public void setNumbering(String numbering) {
        this.numbering = numbering;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getTheme() {
        return theme;
    }

    public void setTheme(Integer theme) {
        this.theme = theme;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Integer getBusinessContactId() {
        return businessContactId;
    }

    public void setBusinessContactId(Integer businessContactId) {
        this.businessContactId = businessContactId;
    }

    public Date getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(Date expirationDate) {
        this.expirationDate = expirationDate;
    }

    public String getInquiryPriceSheet() {
        return inquiryPriceSheet;
    }

    public void setInquiryPriceSheet(String inquiryPriceSheet) {
        this.inquiryPriceSheet = inquiryPriceSheet;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", procurementId=").append(procurementId);
        sb.append(", numbering=").append(numbering);
        sb.append(", name=").append(name);
        sb.append(", theme=").append(theme);
        sb.append(", supplierId=").append(supplierId);
        sb.append(", staffId=").append(staffId);
        sb.append(", startDate=").append(startDate);
        sb.append(", businessContactId=").append(businessContactId);
        sb.append(", expirationDate=").append(expirationDate);
        sb.append(", inquiryPriceSheet=").append(inquiryPriceSheet);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}